module.exports = app => {
    const course = require("../controllers/course.controller.js");
    var router = require("express").Router();
    router.get('/searchName', course.searchCourseName);
    router.get('/searchTechId',course.searchTechId);
    router.get('/searchTechName',course.searchTechName);

    app.use('/api/course', router);
}